package com.lyw.gulimall.ware.dao;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lyw.gulimall.ware.entity.PurchaseEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * 采购信息
 * 
 * @author liyawei
 * @email liyawei@gmail.com
 * @date 2022-05-31 12:20:13
 */
@Mapper
public interface PurchaseDao extends BaseMapper<PurchaseEntity> {

    IPage<Map<String, Object>> selectPurchaseListPage(Page<PurchaseEntity> result,@Param(Constants.WRAPPER) LambdaQueryWrapper<PurchaseEntity> lqw);
}
